.class public Les/wf0;
.super Les/nf0;
.source "SaveConfirmDialog.java"


# instance fields
.field private final b:Landroid/content/DialogInterface$OnClickListener;

.field private c:Landroid/content/DialogInterface$OnDismissListener;

.field private final d:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/nf0;-><init>(Landroid/content/Context;)V

    .line 2
    iput-object p3, p0, Les/wf0;->b:Landroid/content/DialogInterface$OnClickListener;

    .line 3
    iput-object p2, p0, Les/wf0;->d:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Landroid/content/DialogInterface$OnDismissListener;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/wf0;->c:Landroid/content/DialogInterface$OnDismissListener;

    return-void
.end method

.method public c()V
    .locals 6

    .line 1
    invoke-virtual {p0}, Les/nf0;->a()Lcom/jecelyin/common/widget/dialog/a$c;

    move-result-object v0

    sget v1, Lcom/jecelyin/editor/v2/m;->je_confirm_save:I

    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->f(I)Lcom/jecelyin/common/widget/dialog/a$c;

    iget-object v1, p0, Les/nf0;->a:Landroid/content/Context;

    sget v2, Lcom/jecelyin/editor/v2/m;->je_confirm_save_msg:I

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v4, p0, Les/wf0;->d:Ljava/lang/String;

    const/4 v5, 0x0

    aput-object v4, v3, v5

    .line 2
    invoke-virtual {v1, v2, v3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Ljava/lang/CharSequence;)Lcom/jecelyin/common/widget/dialog/a$c;

    sget v1, Lcom/jecelyin/editor/v2/m;->je_yes:I

    .line 3
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->d(I)Lcom/jecelyin/common/widget/dialog/a$c;

    sget v1, Lcom/jecelyin/editor/v2/m;->je_no:I

    .line 4
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->b(I)Lcom/jecelyin/common/widget/dialog/a$c;

    sget v1, Lcom/jecelyin/editor/v2/m;->je_cancel:I

    .line 5
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->c(I)Lcom/jecelyin/common/widget/dialog/a$c;

    iget-object v1, p0, Les/wf0;->b:Landroid/content/DialogInterface$OnClickListener;

    .line 6
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->c(Landroid/content/DialogInterface$OnClickListener;)Lcom/jecelyin/common/widget/dialog/a$c;

    iget-object v1, p0, Les/wf0;->b:Landroid/content/DialogInterface$OnClickListener;

    .line 7
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Landroid/content/DialogInterface$OnClickListener;)Lcom/jecelyin/common/widget/dialog/a$c;

    iget-object v1, p0, Les/wf0;->c:Landroid/content/DialogInterface$OnDismissListener;

    .line 8
    invoke-virtual {v0, v1}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/jecelyin/common/widget/dialog/a$c;

    .line 9
    invoke-virtual {v0}, Lcom/jecelyin/common/widget/dialog/a$c;->c()Lcom/jecelyin/common/widget/dialog/a;

    return-void
.end method
